package game.adm.dao.factory;

import game.adm.dao.BetDAO;
import game.adm.dao.impl.BetDAOImpl;
import projectx.core.base.ProjectXSystemException;

public class BetFactory {

	private static BetFactory factory = new BetFactory();

	public static void setFactory(BetFactory factory) {
		BetFactory.factory = factory;
	}

	public static BetFactory getFactory() {
		return factory;
	}

	public BetDAO getBetDAO() throws ProjectXSystemException {
		return new BetDAOImpl();
	}
}
